#### [Class Diagram](https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/classdiagram.html)

The Class diagram captures the logical structure of the system - the Classes - and things that make up the model. It is a static model, describing what exists and what attributes and behavior it has, rather than how something is done. On a Class diagram you can illustrate relationships between Classes and Interfaces using Generalizations, Aggregations and Associations, which are valuable in reflecting inheritance, composition or usage, and connections respectively.

Диаграмма классов отражает логическую структуру системы - классы - и вещи, составляющие модель. Это статическая модель, описывающая, что существует, какие атрибуты и поведение оно имеет, а не то, как что-то делается. На диаграмме классов вы можете проиллюстрировать отношения между классами и интерфейсами с помощью обобщений, агрегатов и ассоциаций, которые ценны для отражения наследования, композиции или использования и соединений соответственно.

You generate Class diagram elements and connectors from the 'Class' pages of the Diagram Toolbox.

Вы генерируете элементы диаграммы классов и соединители со страниц «Класс» панели инструментов диаграммы .

-- Example Diagram
In this example Class diagram, there are two forms of the Aggregation relationship:

* The pale form indicates that the Class Account uses AddressBook, but does not necessarily contain AddressBook
* The dark Composite Aggregation form indicates ownership or containment by the target Classes (at the diamond end) of the source Classes

-- Пример диаграммы
В этом примере диаграммы классов есть две формы отношения агрегирования:

* Бледная форма указывает, что учетная запись класса использует AddressBook, но не обязательно содержит AddressBook.
* Темная форма составной агрегации указывает на владение или содержание целевыми классами (на конце ромба) исходных классов

![](_src/exampleofaclassdiagram.png)

Class Diagram Element Toolbox Icons

| Icon                                     | Description                              | See also                                 |
|------------------------------------------|------------------------------------------|------------------------------------------|
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-class.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">A Class is a representation of a type of object that reflects the structure and behavior of such objects within the system.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/class.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Class</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-interface.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">An Interface is a specification of behavior (or contract) that implementers agree to meet.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/interface.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Interface</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-datatype.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">A Data Type is a specific kind of classifier, similar to a Class except that a Data Type cannot own sub Data Types, and instances of a Data Type are identified only by their value.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/datatypeelem.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Data Type</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-enumeration.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">An Enumeration is a data type, whose instances can be any of a number of user-defined enumeration literals.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/enumeration_element.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Enumeration</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/primitive.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">A Primitive element identifies a predefined data type, without any relevant substructure (that is, it has no parts in the context of UML).</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/primitive.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Primitive</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-signal.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">A Signal is a specification of Send request instances communicated between objects, typically in a Class or Package diagram.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/signal_element.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Signal</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-association.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">An n-Ary Association element is used to model complex relationships between three or more elements, typically in a Class diagram.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/n-aryassociation.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(239, 128, 0); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">N-Ary Association</a> |

Значки панели инструментов элемента диаграммы классов

| Значок                                   | Описание                                 | Смотрите также                           |
|------------------------------------------|------------------------------------------|------------------------------------------|
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-class.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Класс - это представление типа объекта, которое отражает структуру и поведение таких объектов в системе.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/class.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Класс</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-interface.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Интерфейс - это спецификация поведения (или контракт), которую разработчики соглашаются соблюдать.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/interface.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Интерфейс</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-datatype.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Тип данных - это особый вид классификатора, подобный классу, за исключением того, что тип данных не может владеть подтипами данных, а экземпляры типа данных идентифицируются только по их значению.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/datatypeelem.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Тип данных</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-enumeration.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Перечисление - это тип данных, экземпляры которого могут быть любым из числа определяемых пользователем литералов перечисления.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/enumeration_element.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">перечисление</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/primitive.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Элемент Primitive идентифицирует предопределенный тип данных без какой-либо соответствующей подструктуры (то есть у него нет частей в контексте UML).</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/primitive.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Примитивный</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-signal.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Сигнал - это спецификация экземпляров запроса отправки, передаваемых между объектами, как правило, в диаграмме классов или пакетов.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/signal_element.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">сигнал</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-association.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Элемент n-Ary Association используется для моделирования сложных отношений между тремя или более элементами, обычно на диаграмме классов.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/n-aryassociation.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Н-арная ассоциация</font></font></a> |

Class Diagram Connector Toolbox Icons

| Icon                                     | Description                              | See also                                 |
|------------------------------------------|------------------------------------------|------------------------------------------|
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-associate.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">An Association implies that two model elements have a relationship, usually implemented as an instance variable in one or both Classes.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/associate.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Association</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-generalize.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">A Generalization is used to indicate inheritance.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/generalize.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Generalization</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-compose.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">A Composition is used to depict an element that is made up of smaller components, typically in a Class or Package diagram.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/compose.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Composition</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-aggregate.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">An Aggregation connector is a type of association that shows that an element contains or is composed of other elements.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/aggregate.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Aggregation</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-associationclass.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">An Association Class is a UML construct that enables an Association to have attributes and operations (features).</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/associationclass.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Association Class</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-realize.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">A source object implements or Realizes its destination object.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/realise.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Realization</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/templatebinding.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">You create a Template Binding connector between a binding Class and a parameterized Class.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/template_binding.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(239, 128, 0); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Template Binding</a> |

Значки панели инструментов соединителя диаграммы классов

| Значок                                   | Описание                                 | Смотрите также                           |
|------------------------------------------|------------------------------------------|------------------------------------------|
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-associate.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Ассоциация подразумевает, что два элемента модели имеют отношение, обычно реализуемое как переменная экземпляра в одном или обоих классах.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/associate.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">ассоциация</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-generalize.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Обобщение используется для обозначения наследования.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/generalize.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Обобщение</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-compose.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Композиция используется для изображения элемента, состоящего из более мелких компонентов, обычно на диаграмме классов или пакетов.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/compose.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Сочинение</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-aggregate.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Соединитель агрегации - это тип ассоциации, которая показывает, что элемент содержит или состоит из других элементов.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/aggregate.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">агрегирование</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-associationclass.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Класс ассоциации - это конструкция UML, которая позволяет ассоциации иметь атрибуты и операции (функции).</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/associationclass.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Класс ассоциации</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-realize.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Исходный объект реализует или реализует свой целевой объект.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/realise.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">реализация</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/templatebinding.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Вы создаете соединитель привязки шаблона между классом привязки и параметризованным классом.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/template_binding.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Привязка шаблона</font></font></a> |

Class Diagram Composite Parts

| Icon                                     | Description                              | See also                                 |
|------------------------------------------|------------------------------------------|------------------------------------------|
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-part.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">Parts are run-time instances of Classes or Interfaces.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/part.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Part</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-port.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">Ports define the interaction between a classifier and its environment.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/port.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Port</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-exposeinterface.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">The Expose Interface element is a graphical method of depicting the required or supplied interfaces of a Component, Class or Part, in a Class, Component or<span> </span><span class="diagram-type" style="box-sizing: border-box; font-weight: 700; background: none;">Composite Structure</span><span> </span>diagram.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/exposeinterface.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Expose Interface</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-assembly.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">An Assembly connector bridges a component's required interface (Component1) with the provided interface of another component (Component2), typically in a Component diagram.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/assembly.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Assembly</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-connector.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">Connectors illustrate communication links between Parts to fulfill the structure's purpose, typically in a Class or<span> </span><span class="diagram-type" style="box-sizing: border-box; font-weight: 700; background: none;">Composite Structure</span><span> </span>diagram.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/connector2.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Connector</a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-delegate.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);">A Delegate connector defines the internal assembly of a component's external Ports and Interfaces, on a Class diagram or Component diagram.</span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/delegate.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;">Delegate</a> |

Составные части диаграммы классов

| Значок                                   | Описание                                 | Смотрите также                           |
|------------------------------------------|------------------------------------------|------------------------------------------|
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-part.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Части - это экземпляры классов или интерфейсов во время выполнения.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/part.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Часть</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-port.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Порты определяют взаимодействие между классификатором и его средой.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/port.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">порт</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/e-exposeinterface.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Элемент Expose Interface - это графический метод изображения требуемых или предоставленных интерфейсов компонента, класса или части на<span> </span></font><font style="box-sizing: border-box; vertical-align: inherit;">диаграмме<span> </span></font><font style="box-sizing: border-box; vertical-align: inherit;">класса, компонента или<span> </span></font></font><span class="diagram-type" style="box-sizing: border-box; font-weight: 700; background: none;"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">составной структуры</font></font></span><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;"><span> </span>.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/exposeinterface.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Показать интерфейс</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-assembly.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Коннектор Assembly соединяет требуемый интерфейс компонента (Component1) с предоставленным интерфейсом другого компонента (Component2), как правило, на диаграмме компонентов.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/assembly.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">сборочный</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-connector.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Соединители иллюстрируют каналы связи между частями для выполнения цели структуры, обычно на<span> </span></font><font style="box-sizing: border-box; vertical-align: inherit;">диаграмме<span> </span></font><font style="box-sizing: border-box; vertical-align: inherit;">классов или<span> </span></font></font><span class="diagram-type" style="box-sizing: border-box; font-weight: 700; background: none;"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">составной структуры</font></font></span><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;"><span> </span>.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/connector2.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">соединитель</font></font></a> |
| ![](https://sparxsystems.com/enterprise_architect_user_guide/15.1/images/c-delegate.png) | <p style="box-sizing: border-box; text-align: left; text-indent: 0px; padding: 14px 0px; margin: 5px; line-height: 19px;"><span class="f_BodyTextTable" style="box-sizing: border-box; color: rgb(51, 51, 51);"><font style="box-sizing: border-box; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">Соединитель делегата определяет внутреннюю сборку внешних портов и интерфейсов компонента на диаграмме классов или диаграмме компонентов.</font></font></span></p> | <a href="https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/delegate.html" style="box-sizing: border-box; text-decoration: none; cursor: url(&quot;&quot;) 14 0, auto !important; color: rgb(0, 102, 221); outline: none; display: block; line-height: normal; margin: 0px; padding: 10px 0px;"><font style="box-sizing: border-box; cursor: url(&quot;&quot;) 14 0, auto !important; vertical-align: inherit;"><font style="box-sizing: border-box; vertical-align: inherit;">делегат</font></font></a> |

-- Class Diagram UML Standard Profile
The UML Standard Profile is a collection of stereotyped Classes, operations and relationships provided as modeling tools in compliance with the UML 2.5 Specification (Chapter 22, Standard Profile).

Стандартный профиль UML - это набор стереотипных классов, операций и отношений, предоставляемых в качестве инструментов моделирования в соответствии со спецификацией UML 2.5 (глава 22, Стандартный профиль ).

Some of these modeling elements are directly available through the 'UML Standard Profile' Toolbox page in the Class or Package Diagram Toolboxes; others can be applied as stereotypes on the base UML modeling object.

Некоторые из этих элементов моделирования доступны непосредственно через страницу инструментов «Стандартный профиль UML» в инструментах « Диаграмма классов» или « Диаграмма пакетов» ; другие могут применяться как стереотипы к базовому объекту моделирования UML.

Learn more
* [Active Classes](https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/activeclasses.html)
* [Parameterized (template) Classes](https://sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/business_interaction.html)
* [Stereotyped Business Interaction Elements](https://www.omg.org/spec/UML/2.5)
* [UML Version 2.5 Specification](https://www.omg.org/spec/UML/2.5)

Выучить больше
* Активные классы
* Параметризованные (шаблонные) классы
* Стереотипные элементы делового взаимодействия
* Спецификация UML версии 2.5





